<!DOCTYPE html>
<html lang="en" xmlns:th="http://java.sun.com/JSP/Page">
<head>
    <meta charset="UTF-8">
    <title>白坯管理</title>
    <link rel="stylesheet" type="text/css" href="jquery-easyui-1.6.7/themes/bootstrap/easyui.css"/>
    <link rel="stylesheet" href="css/icon.css"/>
    <link rel="stylesheet" href="jquery-easyui-1.6.7/themes/icon.css"/>
    <link rel="stylesheet" href="css/order_report.css"/>
    <link rel="stylesheet" href="css/icon_state.css"/>
    <link rel="stylesheet" href="css/form.css"/>
    <link rel="stylesheet" href="css/kendo_custum.css"/>
    <link rel="stylesheet" href="jquery-easyui-1.6.7/themes/icon_expand.css"/>
    <script type="text/javascript" src="jQuery/jquery-3.1.1.min.js"></script>
    <script type="text/javascript" src="jquery-easyui-1.6.7/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="jquery-easyui-1.6.7/datagrid-filter/datagrid-filter.js"></script>
    <script type="text/javascript" src="jquery-easyui-1.6.7/jquery.easyui.expand.js"></script>
    <script type="text/javascript" src="jquery-easyui-1.6.7/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="js/pages/jc/button_generate.js"></script>
    <script type="text/javascript" src="js/util/utils.js"></script>
    <script type="text/javascript" src="js/util/loadEventUtil.js"></script>
    <script type="text/javascript" src="js/util/memoryColumnUtil.js"></script>
    <!-- kendo -->
    <link rel="stylesheet" href="KendoUI/styles/kendo.common.min.css"/>
    <link rel="stylesheet" href="KendoUI/styles/kendo.default.min.css"/>
    <link rel="stylesheet" href="KendoUI/styles/kendo.rtl.min.css"/>
    <script type="text/javascript" src="KendoUI/js/jszip.min.js"></script>
    <script type="text/javascript" src="KendoUI/js/kendo.all.min.js"></script>
    <script type="text/javascript" src="KendoUI/js/messages/kendo.messages.zh-CN.min.js"></script>
    <script type="text/javascript" src="js/util/kendo.config.js"></script>
    <link rel="stylesheet" href="css/global.css">
</head>
<body th:data-menu_id="${MENU_ID}">
<div class="easyui-layout" data-options="fit:true">
    <div data-options="region:'north',height:50">
        <div class="datebox-group">
            <ul style="width: 100%;height: 100%;margin: 0;">
                <li style="height: 32px;">
                    <div class="btn-group pull-left">
                        <input id="start" class="easyui-datebox"
                               data-options="label:'起始日期：',labelWidth:85,value:getRangeDate()">
                    </div>
                    <div class="btn-group pull-left">
                        <input id="end" class="easyui-datebox"
                               data-options="label:'终止日期：',labelWidth:85,value:getCurrentDate(0)">
                    </div>
                    <!--                    <div class="btn-group pull-left">-->
                    <!--                        <input id="state" class="easyui-switchbutton"-->
                    <!--                               data-options="value:true,checked:true,width:80,onText:'明细',offText:'汇总',onChange:stateChange">-->
                    <!--                    </div>-->
                    <!--                    <div class="btn-group pull-left">-->
                    <!--                        <input id="contactCompanyId" class="easyui-combobox"-->
                    <!--                               data-options="label:'客户：',labelWidth:70,-->
                    <!--                                             url:'contactCompany/listQuery',method:'GET',-->
                    <!--                                             valueField:'companyName',textField:'companyName',-->
                    <!--                                             limitToList:true">-->
                    <!--                    </div>-->
                    <!--                    <div class="btn-group pull-left">-->
                    <!--                        <input id="type" class="easyui-combobox"-->
                    <!--                               data-options="label:'结账类型：',labelWidth:85,limitToList:true,-->
                    <!--                                             textField:'text',valueField:'id',-->
                    <!--                                             value:'欠账',-->
                    <!--                                             panelHeight:'auto',data:[{id:'现金',text:'现金'},{id:'欠账',text:'欠账'},{id:'全部',text:'全部'}]">-->
                    <!--                    </div>-->
                    <!--                    <div id="search_area" class="btn-group pull-left">-->
                    <!--                        <a id="btn_search" class="easyui-linkbutton" data-options="-->
                    <!--                            text: '查询',-->
                    <!--                            size: 'small',-->
                    <!--                            group: `g1`,-->
                    <!--                            iconCls: 'icon-search',-->
                    <!--                            onClick: btn_search,-->
                    <!--                            plain: true"></a>-->
                    <!--                    </div>-->
                    <div id="north" class=" pull-left"></div>

                    <!--                    <div class="pull-right">-->
                    <!--                        <div style="height: 50%;">-->
                    <!--                            <span style="padding: 1px;width: 12px;height:12px;display: inline-block; background-color: #1818df;"> </span>-->
                    <!--                            <span>未审核</span>-->
                    <!--                        </div>-->
                    <!--                    </div>-->
                </li>
                <!--                <li>-->
                <!--                    <div id="north" class=" pull-left"></div>-->
                <!--                </li>-->
            </ul>
        </div>
    </div>
    <div data-options="region:'center'">
        <!--        ,onSelect:onSelect-->
        <div id="tabs" class="easyui-tabs" data-options="fit:true,border:false,onSelect:onSelect">
            <div data-options="title:'白坯入库'">
                <table id="v_grid_1"></table>
            </div>
            <div data-options="title:'白坯库存'">
                <table id="v_grid_2"></table>
            </div>
            <div data-options="title:'白坯发货'">
                <table id="v_grid"></table>
            </div>
            <!--            <div data-options="title:'未剖幅入库'">-->
            <!--                <table id="v_grid_3"></table>-->
            <!--            </div>-->
            <!--            <div data-options="title:'废布入库'">-->
            <!--                <table id="v_grid_4"></table>-->
            <!--            </div>-->
        </div>
    </div>
</div>


<div id="yfh_win" class="easyui-dialog" title="预发货设置" style="width:500px;height:600px;" data-options="iconCls:'icon-save',modal:true,closed:true">
    <div class="easyui-layout" data-options="fit:true">
        <div data-options="region:'north',height:190">
            <div style="padding-top: 10px;padding-left: 10px">
                <form id="yfhfrm">
                    <div style="display: none" >
                        <input id="billType" name="billType" class="easyui-combobox"  data-options="label:'类型：',labelAlign:'right',required:true,labelWidth:80,width:220">
                    </div>
                   <input id="client" name="client" class="easyui-combobox"  data-options="label:'客户：',labelAlign:'right',required:true,width:260,labelWidth:80">
                    <input id="showClient" name="showClient" class="easyui-checkbox" value="客户是否打印" data-options="labelWidth:1">
                    <div style="width: 100%;height:5px;border:0px solid red"></div>
                    <input id="chargePerson" name="chargePerson" class="easyui-textbox"  data-options="label:'经手人：',labelAlign:'right',labelWidth:80,width:220">
                    <input id="numberPlate" name="numberPlate" class="easyui-textbox" data-options="label:'车牌号:',labelAlign:'right',width:200,labelWidth:60">
                    <div style="width: 100%;height:5px;border:0px solid red"></div>
                    <input id="receive" name="receive" class="easyui-textbox" data-options="label:'收货单位',labelAlign:'right',width:220,labelWidth:80">
                    <input id="price" name="price" class="easyui-textbox"  data-options="label:'单价：',labelAlign:'right',width:200,labelWidth:60">
                    <input id="showPrice" name="showPrice" class="easyui-checkbox" value="单价是否打印" data-options="labelWidth:1">
                    <div style="width: 100%;height:5px;border:0px solid red"></div>
                    <input id="sendRemark" name="sendRemark" class="easyui-textbox" data-options="label:'发货备注',labelAlign:'right',width:420,labelWidth:80">
                    <div style="width: 100%;height:5px;border:0px solid red"></div>
                    <input id="millRemark" name="millRemark" class="easyui-textbox" data-options="label:'厂内备注',labelAlign:'right',width:420,labelWidth:80">
                </form>
            </div>
        </div>
        <div data-options="region:'center' ">
            <table id="yfh_dg"></table>
        </div>
        <div data-options="region:'south',height:35 ">
            <div style="width: 25%;text-align: left;float:left">
                <a class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true,iconAlign:'left',height:30" onclick="setcombox()">刷新缓存</a>
            </div>
            <div style="width: 75%;text-align: right;float:left">
                <a class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true,iconAlign:'left',height:30" onclick="save_yfh()">生成发货单</a>
                <a class="easyui-linkbutton" data-options="iconCls:'icon-no',plain:true,iconAlign:'left',height:30" onclick="close_yfh()">关闭</a>
            </div>

        </div>

    </div>
</div>

<div id="fh_win" class="easyui-dialog" title="发货明细设置" style="width:500px;height:600px;" data-options="iconCls:'icon-save',modal:true,closed:true">
    <div class="easyui-layout" data-options="fit:true">
        <div data-options="region:'north',height:190">
            <div style="padding-top: 10px;padding-left: 10px">
                <form id="fhfrm">
                    <!--                    style="display: none"-->
                    <div style="display: none" >
                        <input id="id" name="id"  class="easyui-textbox" data-options="label:'主表主键：'">
                        <input id="billTypeA" name="billType" class="easyui-combobox"  data-options="label:'类型：',labelAlign:'right',required:true,labelWidth:80,width:220">
                    </div>

                    <input id="clientA" name="client" class="easyui-combobox"  data-options="label:'客户：',labelAlign:'right',required:true,width:260,labelWidth:80">
                    <input id="showClientA" name="showClient" class="easyui-checkbox" value="1" data-options="labelWidth:1">
                    <div style="width: 100%;height:5px;border:0px solid red"></div>
                    <input id="chargePersonA" name="chargePerson" class="easyui-textbox"  data-options="label:'经手人：',labelAlign:'right',labelWidth:80,width:220">
                    <input id="numberPlateA" name="numberPlate" class="easyui-textbox" data-options="label:'车牌号:',labelAlign:'right',width:200,labelWidth:60">
                    <div style="width: 100%;height:5px;border:0px solid red"></div>
                    <input id="receiveA" name="receive" class="easyui-textbox" data-options="label:'收货单位',labelAlign:'right',width:220,labelWidth:80">
                    <input id="priceA" name="price" class="easyui-textbox"  data-options="label:'单价：',labelAlign:'right',width:200,labelWidth:60">
                    <input id="showPriceA" name="showPrice" class="easyui-checkbox" value="1" data-options="labelWidth:1">
                    <div style="width: 100%;height:5px;border:0px solid red"></div>
                    <input id="sendRemarkA" name="sendRemark" class="easyui-textbox" data-options="label:'发货备注',labelAlign:'right',width:420,labelWidth:80">
                    <div style="width: 100%;height:5px;border:0px solid red"></div>
                    <input id="millRemarkA" name="millRemark" class="easyui-textbox" data-options="label:'厂内备注',labelAlign:'right',width:420,labelWidth:80">
                </form>
            </div>
        </div>
        <div data-options="region:'center' ">
            <table id="fh_dg"></table>
        </div>
        <div data-options="region:'south',height:35 ">
            <div style="width: 25%;text-align: left;float:left">
                <a class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true,iconAlign:'left',height:30" onclick="setcombox()">刷新缓存</a>
            </div>
            <div style="width: 75%;text-align: right;float:left">
                <a class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true,iconAlign:'left',height:30" onclick="save_fh()">保存</a>
                <a class="easyui-linkbutton" data-options="iconCls:'icon-no',plain:true,iconAlign:'left',height:30" onclick="close_fh()">关闭</a>
            </div>

        </div>

    </div>
</div>

<div id="ck_detail" class="easyui-dialog" title="库存明细查看、删减" style="width:400px;height:500px;" data-options="iconCls:'icon-save',modal:true,closed:true">
    <div class="easyui-layout" data-options="fit:true">
        <div data-options="region:'center' ">
            <table id="ck_dg"></table>
        </div>
        <div data-options="region:'south',height:35 ">
            <div style="width: 100%;text-align: right;">
                <!--                <a class="easyui-linkbutton" data-options="iconCls:'icon-print',plain:true,iconAlign:'left',height:30">打印发货单</a>-->
                <a class="easyui-linkbutton" data-options="iconCls:'icon-no',plain:true,iconAlign:'left',height:30" onclick="close_bpdetail()">关闭</a>
            </div>

        </div>

    </div>
</div>

</body>
<script type="text/javascript" src="js/pages/fh/fh_delivery_report.js?version=4"></script>
</html>